package com.lyb.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Schema(description = "文章请求参数")
@Data
public class Article {
    @Schema(description = "主键ID")
    private Long Id;
    @Schema(description = "文章标题")
    private String title; //文章标题
    @Schema(description = "文章内容")
    private String content; //文章内容
    @Schema(description = "类别ID")
    private Long cId; //分类id
    @Schema(description = "用户ID")
    private Long uId; //用户id
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "修改时间")
    private Date updateTime;

    public User user;
}
